package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailSubExample;
import com.ymttest.database.sharding.db.sharding.model.OrderDetailSubPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDetailSubMapper {
    int countByExample(OrderDetailSubExample example);

    int deleteByExample(OrderDetailSubExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderDetailSubPo record);

    int insertSelective(OrderDetailSubPo record);

    List<OrderDetailSubPo> selectByExample(OrderDetailSubExample example);

    OrderDetailSubPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderDetailSubPo record, @Param("example") OrderDetailSubExample example);

    int updateByExample(@Param("record") OrderDetailSubPo record, @Param("example") OrderDetailSubExample example);

    int updateByPrimaryKeySelective(OrderDetailSubPo record);

    int updateByPrimaryKey(OrderDetailSubPo record);
}